package com.gupaoedu.demo.factorymethod;

import com.gupaoedu.demo.simplefactory.ICourse;

public class FactotyMethodTest {
    public static void main(String[] args) {
        ICourseFactory iCourseFactory = new PythonCourseFactory();
        ICourse course = iCourseFactory.create();
        course.record();
    }
}
